package com.wingsboat.system.domain;

import com.wingsboat.common.core.annotation.Excel;
import com.wingsboat.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 轨枕信息对象 sys_sleeper
 * 
 * @author wangzhong
 * @date 2024-06-09
 */
public class SysSleeper extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 轨枕编码 */
    @Excel(name = "轨枕编码")
    private String sleeperCode;

    /** 轨枕名称 */
    @Excel(name = "轨枕名称")
    private String sleeperName;

    /** 轨枕号 */
    @Excel(name = "轨枕号")
    private String sleeperNum;

    private String lineNo;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setSleeperCode(String sleeperCode) 
    {
        this.sleeperCode = sleeperCode;
    }

    public String getSleeperCode() 
    {
        return sleeperCode;
    }
    public void setSleeperName(String sleeperName) 
    {
        this.sleeperName = sleeperName;
    }

    public String getSleeperName() 
    {
        return sleeperName;
    }
    public void setSleeperNum(String sleeperNum) 
    {
        this.sleeperNum = sleeperNum;
    }

    public String getSleeperNum() 
    {
        return sleeperNum;
    }


    public String getLineNo() {
        return lineNo;
    }

    public void setLineNo(String lineNo) {
        this.lineNo = lineNo;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("sleeperCode", getSleeperCode())
            .append("sleeperName", getSleeperName())
            .append("sleeperNum", getSleeperNum())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
